package com.wwd.movie.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "tencent.cos")
@Data
public class TencentCosConfig {

    /**
     * 腾讯云 SecretId
     */
    private String secretId;

    /**
     * 腾讯云 SecretKey
     */
    private String secretKey;

    /**
     * 存储桶地域，例如 ap-shanghai
     */
    private String region;

    /**
     * 存储桶名称，格式：bucketName-APPID
     */
    private String bucket;
}
